<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <title>文件上传</title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"/>
    <link rel="stylesheet" href="css/bootstrap.min.css"/>
</head>
<body>
<div  style="width: 500px;height: 100px;line-height: 100px;border: 1px solid green;text-align:center;">
    <form action="/file/upload" method="POST" enctype="multipart/form-data">
        <input type="file" name="file"/>
        <input type="submit"/>
    </form>

    <a href="/file/download">下载</a>
</div>
</div>
</body>
</html>